package com.boss.mapper;

import com.boss.entity.JobClassify;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface JobClassifyMapper {
    int deleteByPrimaryKey(Integer jobClassifyId);

    int insert(JobClassify record);

    int insertSelective(JobClassify record);

    JobClassify selectByPrimaryKey(Integer jobClassifyId);

    int updateByPrimaryKeySelective(JobClassify record);

    int updateByPrimaryKey(JobClassify record);

    /**
     * 获取所有职业分类根据查询一级或二级以下
     * @param parentId 父级编号
     * @return 返回职业分类集合
     */
    List<JobClassify> getAllJobClassify1(@Param("parentId") Integer parentId);




}